/**
 * NotificationState entity. Getters & setters.
 */
package com.xoomworks.rsfr.model;

import java.io.Serializable;

/**
 * The persistent class for the notificationstates database table.
 * @author andrea.ghisa
 */
public class NotificationState extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * pending NotificationState id.
     */
    public static final long PENDING = 1L;
    /**
     * received NotificationState id.
     */
    public static final long RECEIVED = 2L;
    /**
     * failed NotificationState id.
     */
    public static final long FAILED = 3L;

    private String notificationState;

    /**
     *Constructor with no fields.
     */
    public NotificationState() {
    }

    /**
     * Constructor with specified parameters.
     * @param notificationState
     *            NotificationState Represents the state of the notification
     *            (e.g Pending,Failed).
     */
    public NotificationState(final String notificationState) {
        super();
        this.notificationState = notificationState;
    }

    /**
     * Gets the state of the notification.
     * @return notificationState NotificationState Represents the state of the
     *         notification.
     */
    public String getNotificationState() {
        return this.notificationState;
    }

    /**
     * Sets the state of the notification.
     * @param notificationState
     *            NotificationState Which is used to set the notificationState.
     */
    public void setNotificationState(final String notificationState) {
        this.notificationState = notificationState;
    }

}
